﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace smforj.common.model
{
    public class Preference : IData
    {
        public String id { get; set; }
        public String rfid { get; set; } 

        public int status { get; set; }
        public int is_deleted { get; set; }

        public int holdtime { get; set; }

        public String location { get; set; }

        public String remark { get; set; }

        public DateTime create_date { get; set; }
        public DateTime update_date { get; set; } 
    }

    public class PreferenceShow : Preference
    {
        /// <summary>
        /// 拿起总次数
        /// </summary>
        public int Count { get; set; }
        /// <summary>
        /// 图片信息
        /// </summary>
        public String image { get; set; }

        /// <summary>
        /// 商品类型
        /// </summary>
        public String type { get; set; }
    
    }


    public class PreferenceResponse : JResponse
    {
        public Preference[] data;

        public override IData[] GetData()
        {
            return data;
        }
    }
}
